﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;


using DTO;

namespace DAO
{
    class LoaiTourDAO
    {
        TourDataContext tourdatacontext = new TourDataContext();
        
        public IList<LoaiTourDTO> HienThiLoaiTour()
        {
            var Query = (from loaitour in tourdatacontext.LOAITOURs
                         select loaitour.TenLoai);
            return Query.ToList<LoaiTourDTO>;
        }   
    }
}
